# -*- coding: UTF-8 -*-
# __author__ = 'Sengo'
import os

BASE_DIR = os.path.dirname(os.path.abspath(__file__))

FILE_NAME = "better-ball"

# 两张图之间的位移差
GRAPH_OFFSET = (1, 1, 1)

C = [15, -15, 15]  # Camera position
P = [-5.53777e-08,            1, -5.13318e-09]

# x,y 坐标偏移多少让它们都是正的
OFFSET = 1

SCREEN_SIZE = 600

ROTATE_AXIS1 = [0, 1, 0]

ROTATE_AXIS2 = [0, 1, -1]


#  实验3
AMBIENT_COLOR = (0.3, 0.3, 0.3)

REFLECT_N = 32

Kd = 0.1
Ks = 1 - Kd

I = (0.3, 0.3, 0.3)  # 入射光

LIGHT_POSITION = [45, 20, 15]

SHADING_MODEL = 3  # 1: constant 2: Gouraud 3: Phone


# 实验4
T_W = 350
T_H = 350

TEXTURE_FILE = "green.png"

ANGLE = 0